Trò chơi đua xe động vật trong UNITY Engine
114.637 lượt xem;
- Attr.cs
- AnimalRacing /
- Scripts /
- Assets /
- project /
1 using UnityEngine;
2 using System.Collections;
3
4 public class Attr{
5
6 public static int currentWorld = 0;
7 public static int currentLevel = 0;
8
9 public static int currentAnimal = 0;
10 //public static int[] currentSkills = new int[] {-1, -1, -1};
11 //test
12 public static int[] currentSkills = new int[] { 0, 1, 2};
13 }
2 using System.Collections;
3
4 public class Attr{
5
6 public static int currentWorld = 0;
7 public static int currentLevel = 0;
8
9 public static int currentAnimal = 0;
10 //public static int[] currentSkills = new int[] {-1, -1, -1};
11 //test
12 public static int[] currentSkills = new int[] { 0, 1, 2};
13 }
public static int[] currentSkills = new int[] {-1, -1, -1};
test